package com.shfl.servermanage.logic.model.request;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

@ApiModel("新增站点")
public class AddSiteRequest {

    @ApiModelProperty(value = "站点名称", example = "78")
    private String siteName;

    @ApiModelProperty(value = "是否是Bt:0-不是;1-是", example = "1")
    private Integer isBt;

    @ApiModelProperty(value = "脚本，分号隔开", example = "cd ..;")
    private String siteShell;

    @ApiModelProperty(value = "服务Id", example = "1")
    private Long serviceId;

    @ApiModelProperty(value = "端口号", example = "8080")
    private Integer sitePort;

    @ApiModelProperty(value = "站点类型：0-静态网站 ；1-后台JAVA", example = "0")
    private Integer siteType;

    @ApiModelProperty(value = "站点域名", example = "www.baidu.com")
    private String siteDomain;

    @ApiModelProperty(value = "站点描述", example = "描述")
    private String siteDescribe;

    @ApiModelProperty(value = "PHP版本号（选择站点必填）", example = "78")
    private String phpVersion;

    @ApiModelProperty(hidden = true)
    private Long remoteSiteId;

    @ApiModelProperty(hidden = true)
    private String siteDirectory;

    public Integer getIsBt() {
        return isBt;
    }

    public void setIsBt(Integer isBt) {
        this.isBt = isBt;
    }

    public String getSiteShell() {
        return siteShell;
    }

    public void setSiteShell(String siteShell) {
        this.siteShell = siteShell;
    }

    public Long getServiceId() {
        return serviceId;
    }

    public void setServiceId(Long serviceId) {
        this.serviceId = serviceId;
    }

    public Integer getSitePort() {
        return sitePort;
    }

    public void setSitePort(Integer sitePort) {
        this.sitePort = sitePort;
    }

    public Integer getSiteType() {
        return siteType;
    }

    public void setSiteType(Integer siteType) {
        this.siteType = siteType;
    }

    public String getSiteDomain() {
        return siteDomain;
    }

    public void setSiteDomain(String siteDomain) {
        this.siteDomain = siteDomain;
    }

    public String getSiteDescribe() {
        return siteDescribe;
    }

    public void setSiteDescribe(String siteDescribe) {
        this.siteDescribe = siteDescribe;
    }

    public String getPhpVersion() {
        return phpVersion;
    }

    public void setPhpVersion(String phpVersion) {
        this.phpVersion = phpVersion;
    }

    public Long getRemoteSiteId() {
        return remoteSiteId;
    }

    public void setRemoteSiteId(Long remoteSiteId) {
        this.remoteSiteId = remoteSiteId;
    }

    public String getSiteName() {
        return siteName;
    }

    public void setSiteName(String siteName) {
        this.siteName = siteName;
    }

    public String getSiteDirectory() {
        return siteDirectory;
    }

    public void setSiteDirectory(String siteDirectory) {
        this.siteDirectory = siteDirectory;
    }
}
